package com.yt.Insurance.models.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("保险投保信息VO")
public class InsurancePolicyVO {

    @ApiModelProperty(value = "保单ID")
    private Integer policyId;

    @ApiModelProperty(value = "被保险人ID")
    private Long userId;

    @ApiModelProperty(value = "产品ID")
    private Integer productId;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "保单编号")
    private String policyNo;

    @ApiModelProperty(value = "受益人姓名")
    private String beneficiaryName;

    @ApiModelProperty(value = "受益人身份证")
    private String beneficiaryIdcard;

    @ApiModelProperty(value = "与被保险人关系")
    private String beneficiaryRelation;

    @ApiModelProperty(value = "保险金额")
    private BigDecimal insuranceAmount;

    @ApiModelProperty(value = "保险期限(月)")
    private Integer insuranceTerm;

    @ApiModelProperty(value = "是否有病史 0-无 1-有")
    private Byte hasMedicalHistory;

    @ApiModelProperty(value = "病史描述")
    private String medicalHistoryDesc;

    @ApiModelProperty(value = "状态属性ID")
    private Integer statusAttrId;

    @ApiModelProperty(value = "状态名称")
    private String statusName;

    @ApiModelProperty(value = "拒绝原因")
    private String rejectReason;

    @ApiModelProperty(value = "投保时间")
    private Date insuranceTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "退保时间")
    private Date surrenderTime;

    @ApiModelProperty(value = "退保原因")
    private String surrenderReason;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}